home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Gold Collection
/
Software Vault - The Gold Collection (American Databankers) (1993).ISO
/
cdr49
/
116_01.zip
/
EADVENT.C
< prev
next >
Wrap
Text File
|
1993-06-19
|
512b
|
31 lines
/* EADVENT.C no modifications for V 1.43 */
#include "advent.h"
main()
{
init();
if (yes(65,1,0))
limit = 1000;
else
limit = 330;
while(!saveflg)
turn();
if (saveflg)
exec("saveadv");
}
/*
Initialization
*/
init()
{
fd[1]=fopen("advent1.dat",dbuff);
fd[2]=fopen("advent2.dat",dbuff);
fd[3]=fopen("advent3.dat",dbuff);
fd[4]=fopen("advent4.dat",dbuff);
fd[5]=fopen("advent5.dat",dbuff);
fd[6]=fopen("advent6.dat",dbuff);
srand(511);
}